package com.bwda.dsrs.filecenter.domain.form.whitelist;

import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 白名单
 * @author yangjun
 */
@Data
@ApiModel(description = "白名单")
public class WhiteListCreateForm {

	@ApiModelProperty(value = "IP开始")
	private String ipStart;

	@ApiModelProperty(value = "IP结束")
	private String ipEnd;

	@ApiModelProperty(value = "MAC地址")
	private String macAddr;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

}